package com.kaili.basic.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel(description = "入库操作")
public class BaseInStoreEditDto {

  @ApiModelProperty("主键id")
  private Long id;

  @ApiModelProperty("订单号")
  private String orderNo;

  @ApiModelProperty("仓库id")
  private Long storeId;

  @ApiModelProperty("入库类型")
  private Long inStoreType;

  @ApiModelProperty("货主id")
  private Long supplierId;

  @ApiModelProperty("备注")
  private String remark;

  @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss" )
  @ApiModelProperty("预到时间 yyyy-MM-dd HH:mm:ss")
  private Date preArrviceTime;

  @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss" )
  @ApiModelProperty("到货时间 yyyy-MM-dd HH:mm:ss")
  private Date receivingTime;

  @ApiModelProperty("入库明细")
  List<BaseInStoreDetailAddDto> detailList;
}
